﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Adminitrator.master"
  AutoEventWireup="true" CodeFile="Details.aspx.cs" Inherits="admin_CateProd_Details" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">
    <h1 id="h3Title" class="title" runat="server">
    Thêm mới danh mục sản phẩm</h1>
  <div class="detail ">
    <fieldset class="fieldset">
      <legend>Thông tin danh mục</legend>
          <table>
            <tr>
              <td>
                Danh mục cha :
              </td>
              <td>
                <asp:DropDownList ID="dropParent" runat="server" CssClass="dropDown" Width="160px" />
              </td>
            </tr>
            <tr>
              <td valign="top" style="padding-top: 8px">
                Tên danh muc :
              </td>
              <td>
                <asp:TextBox ID="txtName" runat="server" CssClass="textbox" />
              </td>
            </tr>
            <tr>
              <td>
                Icon đại diện :
              </td>
              <td>
                <asp:FileUpload ID="fileUpload1" runat="server" />&nbsp;<small>(Kích thước 50 x 35 px)</small>
              </td>
            </tr>
            <tr><td>&nbsp;</td>
              <td>
                <asp:RadioButton ID="radioDeAnh" runat="server" GroupName="ChonAnh" OnCheckedChanged="radioBoAnh_CheckedChanged"
                  AutoPostBack="true" />Dùng ảnh đại diện
                <asp:RadioButton ID="radioBoAnh" runat="server" GroupName="ChonAnh" OnCheckedChanged="radioBoAnh_CheckedChanged"
                  AutoPostBack="true" Checked="true" />Không dùng ảnh đại diện
              </td>
            </tr>
            <tr id="trFileUpload" runat="server" visible="false">
              <td>
                Ảnh đại diện :
              </td>
              <td>
                <asp:FileUpload ID="fileUpload" runat="server" />&nbsp;<small>(Kích thước 460 x 310 px)</small>
              </td>
            </tr>
            <tr>
                <td valign="top">Mô tả : </td>
                <td><asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" 
                        CssClass="textBox" Height="120px" Width="430px" /></td>
            </tr>
            <tr>
              <td>
                Tình trạng :
              </td>
              <td>
                <asp:RadioButton ID="radioEnable" GroupName="radioStatus" runat="server" Checked="true" />Bật
                <asp:RadioButton ID="radioVisible" GroupName="radioStatus" runat="server" />Tắt
              </td>
            </tr>  
            <tr>
              <td>
                Link chi tiết :
              </td>
              <td>
                 <asp:TextBox ID="txtLink" runat="server" CssClass="textbox" Width="430px" />
              </td>
            </tr>                       
          </table>
      <table style="width: 100%">
        <tr>
          <td style="width: 95px">
            &nbsp;
          </td>
          <td style="padding-top: 10px">
            <asp:Button ID="Button1" runat="server" Text="" CssClass="button btn-save" OnClick="btnOk_Click" />
            <input type="reset" value="" class="button btn-reset" />
            <asp:HyperLink ID="btnBack" runat="server" Text="Danh sách" CssClass="button btn-back"
              NavigateUrl="~/admin/CateProd/List.aspx" />
          </td>
        </tr>
      </table>
    </fieldset>
  </div>
  <asp:Literal ID="lbThongBao" runat="server" />
</asp:Content>
